package com.wugui.datax.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wugui.datatx.core.biz.model.ReturnT;
import com.wugui.datax.admin.entity.JobDatasource;
import com.wugui.datax.admin.entity.JobDatasourceFile;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/****************************************
 *
 *@Author: wangzp
 *@Date: 2023/8/1 周二 18:19
 *@Desc:
 *
 *****************************************/

public interface JobDatasourceFileService extends IService<JobDatasourceFile> {

    List<JobDatasourceFile> getFilesByDatasourceId(Long datasourceId);

    ReturnT<String> upload(MultipartFile file) throws Exception;

    Boolean delByDatasourceIds(List<Long> datasourceIds);

}
